
class  file_option:
    def __init__(self,filename):
        self.fname = filename

    def write_file(self,content):
        with open(self.fname, 'w') as f:
            for each in content:
                f.write(each)

    def read_file(self):
        with open(self.fname, 'r') as f:
            list1 = f.readlines()


